//
//  YSCartEmptyView.m
//  Yueshi
//
//  Created by Northwan on 15/8/1.
//  Copyright (c) 2015年 悦食中国. All rights reserved.
//

#import "YSCartEmptyView.h"

@interface YSCartEmptyView()


@end

@implementation YSCartEmptyView

+(instancetype)emptyView{
    return [[[NSBundle mainBundle]loadNibNamed:@"YSCartEmptyView" owner:nil options:nil]lastObject];
}

- (IBAction)toScroll:(id)sender {
    [[NSNotificationCenter defaultCenter]postNotificationName:kToHomePageNortif object:@1];
    [self.viewController.navigationController dismissViewControllerAnimated:YES completion:nil];
}

@end
